package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 用户流量渠道来源
 * @author Rongjie
 */
@Data
@TableName("mall_user_utm")
@KeySequence(value = "mall_user_utm_SEQ")
@ApiModel(value = "MallUserUtm对象")
public class MallUserUtm implements Serializable{

       private String appKey;

       @TableId(value = "user_key", type = IdType.UUID)
       @ApiModelProperty(value = "用户KEY")
       private String userKey;

       @ApiModelProperty(value = "来源")
       private String utmSource;

       @ApiModelProperty(value = "注册IP")
       private String registerIp;

       @ApiModelProperty(value = "系统类型")
       private String platformType;

       @ApiModelProperty(value = "扩展类型：CREDIT：信用商城")
       private String flexType;

       @ApiModelProperty(value = "扩展字段1")
       private String flexSegment1;

       @ApiModelProperty(value = "扩展字段2")
       private String flexSegment2;

       @ApiModelProperty(value = "扩展字段3")
       private String flexSegment3;

       @ApiModelProperty(value = "版本号", example = "1")
       @Version
       private Integer version;

}
